package com.demo.studentmanager.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.demo.studentmanager.dto.TeacherListDto;
import com.demo.studentmanager.entity.Teacher;
import com.demo.studentmanager.vo.TeacherVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author zjia
 * @date
 */
@Repository
public interface TeacherMapper extends BaseMapper<Teacher> {
    /**
     * 查询教师
     *
     * @param page
     * @param teacherListDto
     * @return
     */
    IPage<TeacherVo> getTeacherList(IPage<TeacherVo> page, @Param("search") TeacherListDto teacherListDto);

}
